import request from '@/utils/request'

// 查询dcn稽核列表
export function listIdledcn(query) {
  return request({
    url: '/ipmanagement/idledcn/list',
    method: 'get',
    params: query
  })
}

// 查询dcn稽核详细
export function getIdledcn(id) {
  return request({
    url: '/ipmanagement/idledcn/' + id,
    method: 'get'
  })
}

// 新增dcn稽核
export function addIdledcn(data) {
  return request({
    url: '/ipmanagement/idledcn',
    method: 'post',
    data: data
  })
}

// 修改dcn稽核
export function updateIdledcn(data) {
  return request({
    url: '/ipmanagement/idledcn',
    method: 'put',
    data: data
  })
}

// 删除dcn稽核
export function delIdledcn(id) {
  return request({
    url: '/ipmanagement/idledcn/' + id,
    method: 'delete'
  })
}
